#include "taskstab.h"
#include "taskitemwidget.h"

TasksTab::TasksTab(QWidget *parent) :
    QWidget(parent)
{
    QLabel *l1 = new QLabel(tr("Menu"));
    QLabel *l3 = new QLabel(tr("Notes"));
    QLabel *l4 = new QLabel(tr("Time tracking"));

    TaskItemWidget *task1 = new TaskItemWidget;

    QHBoxLayout *mainLayout = new QHBoxLayout;
    mainLayout->addWidget(l1);
    mainLayout->addWidget(task1);

    QVBoxLayout *detalisLayot = new QVBoxLayout;
    detalisLayot->addWidget(l3);
    detalisLayot->addWidget(l4);

    mainLayout->addLayout(detalisLayot);

    setLayout(mainLayout);
}

void TasksTab::CreateTaskList()
{

}
